package com.yuexunit.finance.statistics.action.v1.model;

import java.math.BigDecimal;

import com.yuexunit.web.annotation.Parameter;

/**
*@version 创建时间：2017年11月5日 下午9:35:48
*@author wenwenlong
*类说明
*/

public class ProcessFinanceApplication {
	@Parameter(name = "financeId", description = "融资ID")
	private Long financeId;
	
	@Parameter(name = "financeNumber", description = "融资编号")
	private String financeNumber;
	
	@Parameter(name = "bulkstockName", description = "货物")
	private String bulkstockName;
	
	@Parameter(name = "specification", description = "规格型号")
	private String specification;
	
	@Parameter(name = "productType", description = "业务类型")
	private Integer productType;
	
	@Parameter(name = "weight", description = "质押数量")
	private BigDecimal weight;
	
	@Parameter(name = "inCustody", description = "在押数量")
	private BigDecimal inCustody;
	
	@Parameter(name = "evaluatePrice", description = "估值单价")
	private BigDecimal evaluatePrice;
	
	@Parameter(name = "evaluation", description = "估值金额")
	private BigDecimal evaluation;
	
	@Parameter(name = "financeAmount", description = "放款审批金额")
	private BigDecimal financeAmount;
	
	@Parameter(name = "financePrice", description = "质押单价")
	private BigDecimal financePrice;
	
	@Parameter(name = "pledgeRate", description = "质押率")
	private String pledgeRate;
	
	@Parameter(name = "bailRate", description = "保证金比例")
	private BigDecimal bailRate;
	
	@Parameter(name = "loanAmount", description = "实际放款金额")
	private BigDecimal loanAmount;
	
	@Parameter(name = "receiptAmount", description = "实际回款金额")
	private BigDecimal receiptAmount;
	
	@Parameter(name = "waitReceipt", description = "待回款金额")
	private BigDecimal waitReceipt;
	
	@Parameter(name = "financeState", description = "状态")
	private Integer financeState;
	
	@Parameter(name = "interestRate", description = "费率")
	private BigDecimal interestRate;
	
	@Parameter(name = "financeDays", description = "用款周期")
	private Integer financeDays;
	
	@Parameter(name = "finalPrice", description = "最终确认值")
	private BigDecimal finalPrice;

	public BigDecimal getWeight() {
		if (null == weight) {
			return BigDecimal.ZERO;
		}
		return weight;
	}

	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}

	public BigDecimal getFinalPrice() {
		return finalPrice;
	}

	public void setFinalPrice(BigDecimal finalPrice) {
		this.finalPrice = finalPrice;
	}

	public BigDecimal getInterestRate() {
		return interestRate;
	}

	public void setInterestRate(BigDecimal interestRate) {
		this.interestRate = interestRate;
	}

	public Integer getFinanceDays() {
		return financeDays;
	}

	public void setFinanceDays(Integer financeDays) {
		this.financeDays = financeDays;
	}

	public Long getFinanceId() {
		return financeId;
	}

	public void setFinanceId(Long financeId) {
		this.financeId = financeId;
	}

	public String getFinanceNumber() {
		return financeNumber;
	}

	public void setFinanceNumber(String financeNumber) {
		this.financeNumber = financeNumber;
	}

	public String getBulkstockName() {
		return bulkstockName;
	}

	public void setBulkstockName(String bulkstockName) {
		this.bulkstockName = bulkstockName;
	}

	public String getSpecification() {
		return specification;
	}

	public void setSpecification(String specification) {
		this.specification = specification;
	}

	public Integer getProductType() {
		return productType;
	}

	public void setProductType(Integer productType) {
		this.productType = productType;
	}

	public BigDecimal getInCustody() {
		if (null == inCustody) {
			return BigDecimal.ZERO;
		}
		return inCustody;
	}

	public void setInCustody(BigDecimal inCustody) {
		this.inCustody = inCustody;
	}

	public BigDecimal getEvaluatePrice() {
		return evaluatePrice;
	}

	public void setEvaluatePrice(BigDecimal evaluatePrice) {
		this.evaluatePrice = evaluatePrice;
	}

	public BigDecimal getEvaluation() {
		if (evaluation == null) {
			return BigDecimal.ZERO;
		}
		return evaluation;
	}

	public void setEvaluation(BigDecimal evaluation) {
		this.evaluation = evaluation;
	}

	public BigDecimal getFinanceAmount() {
		return financeAmount;
	}

	public void setFinanceAmount(BigDecimal financeAmount) {
		this.financeAmount = financeAmount;
	}

	public BigDecimal getFinancePrice() {
		return financePrice;
	}

	public void setFinancePrice(BigDecimal financePrice) {
		this.financePrice = financePrice;
	}

	public String getPledgeRate() {
		return pledgeRate;
	}

	public void setPledgeRate(String pledgeRate) {
		this.pledgeRate = pledgeRate;
	}

	public BigDecimal getBailRate() {
		return bailRate;
	}

	public void setBailRate(BigDecimal bailRate) {
		this.bailRate = bailRate;
	}

	public BigDecimal getLoanAmount() {
		return loanAmount;
	}

	public void setLoanAmount(BigDecimal loanAmount) {
		this.loanAmount = loanAmount;
	}

	public BigDecimal getReceiptAmount() {
		return receiptAmount;
	}

	public void setReceiptAmount(BigDecimal receiptAmount) {
		this.receiptAmount = receiptAmount;
	}

	public BigDecimal getWaitReceipt() {
		return waitReceipt;
	}

	public void setWaitReceipt(BigDecimal waitReceipt) {
		this.waitReceipt = waitReceipt;
	}

	public Integer getFinanceState() {
		return financeState;
	}

	public void setFinanceState(Integer financeState) {
		this.financeState = financeState;
	}
}
